<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('B_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[b_id]', $business, $row['b_id'], ['class'=>'form-control', 'required'=>''])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_id" data-field="name" data-rule="required" data-source="store/index" class="form-control selectpage" name="row[s_id]" type="text" value="{$row.s_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('A_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-a_id" data-field="nickname" data-rule="required" data-source="auth/admin/index" class="form-control selectpage" name="row[a_id]" type="text" value="{$row.a_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone_code" class="form-control" name="row[phone_code]" type="text" value="{$row.phone_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_sub_enum')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[is_sub_enum]', $subEnum, $row['b_id'], ['class'=>'form-control', 'required'=>''])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Min_charge')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-min_charge" class="form-control" step="0.01" name="row[min_charge]" type="number" value="{$row.min_charge|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Custom.name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_name" class="form-control" name="row[c_name]" type="text" value="{$row.c_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Custom.phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_phone" class="form-control" name="row[c_phone]" type="number" value="{$row.c_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Custom.sex')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[c_sex]', $sexList, $row['c_sex'], ['class'=>'form-control', 'required'=>''])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_cid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_cid" class="form-control" name="row[c_cid]" type="text" value="{$row.c_cid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-c_address" class="form-control " rows="5" name="row[c_address]" cols="50">{$row.c_address|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_birthday')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_birthday" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[c_birthday]" type="text" value="{$row.c_birthday|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remake_switch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remake_switch" class="form-control " rows="5" name="row[remake_switch]" cols="50">{$row.remake_switch|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>

<style>
    #mySelect {
        display: display; /* 或者其他需要的display属性 */
    }
</style>
